package com.yf.dxapp.module.app.controller.admin.favorite.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 收藏 Response VO")
@Data
@ExcelIgnoreUnannotated
public class FavoriteRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "184")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "收藏人ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "2105")
    @ExcelProperty("收藏人ID")
    private Long collectorId;

    @Schema(description = "收藏人名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @ExcelProperty("收藏人名称")
    private String collectorName;

    @Schema(description = "ENUM-收藏类型:PRODUCT-商品", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("ENUM-收藏类型:PRODUCT-商品")
    private Integer type;

    @Schema(description = "关联记录ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "4556")
    @ExcelProperty("关联记录ID")
    private Long refId;

    @Schema(description = "ENUM-收藏状态:NO-未收藏,YES-已收藏", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("ENUM-收藏状态:NO-未收藏,YES-已收藏")
    private Integer status;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}